<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
	<head>
	 	<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>交易头寸列表</title>
		<script type="text/javascript">
			var bondPath2 = '<%=context%>' +'business/tradeCash/';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix2(bondPath2);
			});
		</script>
	</head>
	<body class="sub-page">
		<div id="tradeCash" class="typeContent">
			<div class="clearfix form-multi-col-panel">
				<div class="form-item-group form-horizontal" role="form">
			         <div class="form-item">
			            <span class="form-field">头寸日期起期</span>
			            <span class="form-input">
			            	<input type="text" placeholder="头寸日期起期" class="form-control" name="cashBeginDate" id="cashBeginDate"/>
			            </span>
			         </div>
			         <div class="form-item">
			            <span class="form-field">头寸日期止期</span>
			            <span class="form-input">
			            	<input type="text" placeholder="头寸日期止期" class="form-control" name="cashEndDate" id="cashEndDate"/>
			            </span>
			         </div>
			         <div class="form-item">
			            <span class="form-field">产品名称</span>
			            <span class="form-input">
			            	<select placeholder="产品名称" class="form-control use-select2" name="prjCode" id="prjCode"></select>
			            </span>
			         </div>
			         <div class="form-item">
			            <span class="form-field">资产单元</span>
			            <span class="form-input">
			            	<select class="form-control use-select2" name="assetUnitId" id="assetUnitId">
			            		<option value="">请选择</option>
			            		<option value="01">场外</option>
			            		<option value="02">场内场外</option>
			            	</select>
			            </span>
			         </div>
			         <div class="form-item"></div>
			    </div>
				<div class="form-action">
					<button class="btn btn-primary" type="submit" id="queryBtn" name="queryBtn" onclick="queryByCondtion2(true)">
						<i class="fa fa-search"></i>&nbsp;查询
					</button>
					<button class="btn btn-outline btn-default" id="resetBtn" name="resetBtn" type="reset">清空</button>
				</div>
				
				<div class="hr-line-dotted"></div>
		         <div class="form-item">
		            <span class="form-field">头寸余额</span>
		            <span class="form-input">
		            	<input type="text" placeholder="头寸余额" class="form-control" name="balance" id="balance"/>
		            </span>
		         </div>
				
			</div>
			<div class="jqGrid_wrapper fullscreen-wrapper">
				<table id="tradeCashList"></table>
				<div id="tradeCashListPage"></div>
			</div>
		</div>	
		<script type="text/javascript" src="<%=context%>resources/modules/business/investTrade/tradeCashList.js?r=<%=Math.random()%>"></script>
	</body>
</html>